﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Abp.Mtrl
{
    /// <summary>
    /// 草稿中的物质库
    ///     审核以后，会进入到 Material 的正式库中。
    ///     modify为审核人
    /// </summary>
    public class Draft : _FullInfo
    {
        public Draft()
        {
            CreateOn = DateTime.Now;
        }

        public int Id { get; set; }

        public DateTime CreateOn { get; set; }
        public string CreateBy { get; set; }

        /// <summary>
        /// 物质状态
        /// </summary>
        public DraftStatu Statu { get; set; }


        public string Remark { get; set; }

        /// <summary>
        /// 保密级别
        /// </summary>
        public int PrivacyLevel { get; set; }


    }


    public enum DraftStatu
    {
        Init = 1,
        Commit = 2,
        Reject = 4
    }
}
